local skel = fk.CreateSkill {
  name = "emo__hexinmd",
  tags = {Skill.Compulsory},
}

skel:addEffect(fk.DamageCaused, {
  anim_type = "defensive",
  can_trigger = function (self, event, target, player, data)
    return player:hasSkill(skel.name) and target == player and data.to ~= player and player.maxHp > 1
  end,
  on_use = function (self, event, target, player, data)
    player.room:changeMaxHp(player, -1)
    data:changeDamage(1)
  end,
})


Fk:loadTranslationTable{
  ["emo__hexinmd"] = "核心矛盾",
  [":emo__hexinmd"] = "锁定技，当你对其他角色造成伤害时，若你体力上限大于1，扣减一点以令伤害+1。",
}


return skel
